package com.qn.wechat.ifservice.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/*
* 微信账号
* */
public class WechatAccountDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="公众号ID",example="0")
    private long wid;

    @ApiModelProperty(value="公众号名称",example="沙箱公众号")
    private String wname;

    @ApiModelProperty(value="公众号appid,从微信后台获取",example="0")
    private String appid;

    @ApiModelProperty(value="公众号appsecrect，从微信后台获取",example="0")
    private String appsecrect;

    @ApiModelProperty(value="公众号配置内容",example="0")
    private String accountcontent;

    @ApiModelProperty(value="创建时间",example="2018-09-27 14:09:35")
    private Date createtime;

    @ApiModelProperty(value="公众号状态0未启用；1启用",example="1")
    private Integer status=0;

    @ApiModelProperty(value="公众号活动状态0未启用；1启用",example="1")
    private Integer promotestatus;




    /**
     * 设置
     * @param wid
     */
    public void setWid(long wid){
        this.wid=wid;
    }

    /**
     * 获取
     * @return WId -
     */
    public long getWid(){
        return this.wid;
    }

    /**
     * 设置
     * @param wname
     */
    public void setWname(String wname){
        this.wname=wname;
    }

    /**
     * 获取
     * @return WName -
     */
    public String getWname(){
        return this.wname;
    }

    /**
     * 设置
     * @param appid
     */
    public void setAppid(String appid){
        this.appid=appid;
    }

    /**
     * 获取
     * @return AppId -
     */
    public String getAppid(){
        return this.appid;
    }

    /**
     * 设置
     * @param appsecrect
     */
    public void setAppsecrect(String appsecrect){
        this.appsecrect=appsecrect;
    }

    /**
     * 获取
     * @return AppSecrect -
     */
    public String getAppsecrect(){
        return this.appsecrect;
    }

    /**
     * 设置
     * @param accountcontent
     */
    public void setAccountcontent(String accountcontent){
        this.accountcontent=accountcontent;
    }

    /**
     * 获取
     * @return AccountContent -
     */
    public String getAccountcontent(){
        return this.accountcontent;
    }

    /**
     * 设置
     * @param createtime
     */
    public void setCreatetime(Date createtime){
        this.createtime=createtime;
    }

    /**
     * 获取
     * @return CreateTime -
     */
    public Date getCreatetime(){
        return this.createtime;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status){
        this.status=status;
    }

    /**
     * 获取
     * @return Status -
     */
    public Integer getStatus(){
        return this.status;
    }

    /**
     * 设置
     * @param promotestatus
     */
    public void setPromotestatus(Integer promotestatus){
        this.promotestatus=promotestatus;
    }

    /**
     * 获取
     * @return PromoteStatus -
     */
    public Integer getPromotestatus(){
        return this.promotestatus;
    }
}
